﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<GlassStore.Models.Glass>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	删除眼镜
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>删除眼镜</h2>

    <h3>确定要删除这幅眼镜吗？</h3>
    <fieldset>
        <legend>眼镜详情</legend>
        
            <p>        
        <div class="display-label">GlassName</div>
        <div class="display-field"><%: Model.GlassName %></div>
            </p>
        
            <p>
        <div class="display-label">Brand</div>
        <div class="display-field"><%: Model.Brand %></div>
            </p>
        
            <p>
        <div class="display-label">Material</div>
        <div class="display-field"><%: Model.Material %></div>
            </p>
        
            <p>
        <div class="display-label">Style</div>
        <div class="display-field"><%: Model.Style %></div>
            </p>
        
            <p>
        <div class="display-label">Serial</div>
        <div class="display-field"><%: Model.Serial %></div>
            </p>
        
            <p>
        <div class="display-label">Price</div>
        <div class="display-field"><%: String.Format("{0:F}", Model.Price) %></div>
            </p>
        
            <p>
        <div class="display-label">Inventory</div>
        <div class="display-field"><%: Model.Inventory %></div>
            </p>
        
            <p>
        <div class="display-label">Description</div>
        <div class="display-field"><%: Model.Description %></div>
            </p>
        
    </fieldset>
    <% using (Html.BeginForm()) { %>
        <p>
		    <input type="submit" value="删除" /> |
		    <%: Html.ActionLink("返回", "Index") %>
        </p>
    <% } %>

</asp:Content>

